#include <stdio.h>
void utol(char []);
int main()
{
  char a[20];
  printf("enter a string ");
  fgets(a,20,stdin);
  utol(a);
  printf("the edited string is %s",a);
  return 0;
}

void utol(char a[])
{
  int i=0;
  while(a[i++]!='\0')
  {
    a[i]=a[i]>='A' && a[i]<='Z'?a[i]+32 : a[i];

  }
}

  



